package com.ljx;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author Administrator
 */
@SpringBootApplication
//扫描Mapper文件夹
@MapperScan("com.ljx.mapper")
/**
 * 配置了MapperScan那么在Mapper文件里面就不用进行@Mapper单独配置了
 */
public class MybatisPlus01Application {

    public static void main(String[] args) {
        SpringApplication.run(MybatisPlus01Application.class, args);
        System.out.println("----------启动成功------------");
    }

}
